<%--
  Created by IntelliJ IDEA.
  User: lutao
  Date: 2017/7/18
  Time: 13:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>
    <%@ include file="/common/include-core.jsp" %>
    <%@ include file="/common/jspTemplate.jsp" %>

    <title>添加活动图片</title>
</head>
<body>
<article class="page-container">
    <form action="" class="form form-horizontal" id="form-member-add">
        <input id="tid" name="tid" value="${bean.tid}" type="hidden">
        <input id="resourceRelationId" name="resourceRelationId" value="${bean.resourceRelationId}" type="hidden">


        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3">选择资源：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" value="${resourceRelation.resourceId}" id="resourceId" name="resourceId">
            </div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3">资源类型：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <select class="select" id="resourceRelationType" name="resourceRelationType">

                        <option value="1" <c:if test="${resourceRelation.resourceRelationType==1}">selected</c:if>>产品</option>
                        <option value="2" <c:if test="${resourceRelation.resourceRelationType==2}">selected</c:if>>产品实体</option>
                        <option value="4" <c:if test="${resourceRelation.resourceRelationType==4}">selected</c:if>>订单</option>


                </select>

            </div>
        </div>




        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <input class="btn btn-primary radius" type="submit" id="advertSubmit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
            </div>
        </div>

    </form>
</article>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="/static/js/admin/resource/resourceRelation.js"></script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>
